package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * ticketFlow MatchCondition 枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/10 17:24
 */
@Getter
@ToString
public enum TicketFlowMatchConditionEnum {
    /**
     * NONE
     */
    NONE("NONE", 0),
    /**
     * UNCONDITIONAL
     */
    UNCONDITIONAL("UNCONDITIONAL", 1),
    /**
     * MATCH_ALERT_RULES
     */
    MATCH_ALERT_RULES("MATCH_ALERT_RULES", 2),
    /**
     * CUSTOM_ALERT_RULES
     */
    CUSTOM_ALERT_RULES("CUSTOM_ALERT_RULES", 3);

    private final String name;

    private final int index;

    TicketFlowMatchConditionEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
